package com.chf.job.pojo;

import java.util.Date;

public class Collection {
    /** 收藏id自增 */
    private Integer id;

    /** 用户邮箱 */
    private String userEmail;

    /** 工作id */
    private Integer jobId;

    /** 创建时间 */
    private Date createTime;

    /** 更新时间 */
    private Date updateTime;

    /** 是否收藏 0-未收藏 1-已经收藏 */
    private Integer isCollection;

    public Collection(Integer id, String userEmail, Integer jobId, Date createTime, Date updateTime, Integer isCollection) {
        this.id = id;
        this.userEmail = userEmail;
        this.jobId = jobId;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.isCollection = isCollection;
    }

    public Collection() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserEmail() {
        return userEmail;
    }

    public void setUserEmail(String userEmail) {
        this.userEmail = userEmail == null ? null : userEmail.trim();
    }

    public Integer getJobId() {
        return jobId;
    }

    public void setJobId(Integer jobId) {
        this.jobId = jobId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getIsCollection() {
        return isCollection;
    }

    public void setIsCollection(Integer isCollection) {
        this.isCollection = isCollection;
    }
}